<!--运维概况-->
<template>
  <div class="operations">
    <div class="bg5"></div>
    <div class="block block1">
      <img src="../../../assets/img/icon1.png" alt="" srcset="">
      <h3>运维人员</h3>
      <h4>{{operationInfo.admins}}</h4>
    </div>
    <div class="block block2">
      <img src="../../../assets/img/icon2.png" alt="" srcset="">
      <h3>待办工单</h3>
      <h4>{{operationInfo.task1}}</h4>
    </div>
    <div class="block block3">
      <img src="../../../assets/img/icon3.png" alt="" srcset="">
      <h3>完成工单</h3>
      <h4>{{operationInfo.task2}}</h4>
    </div>
    <div class="block block4">
      <img src="../../../assets/img/icon4.png" alt="" srcset="">
      <h3>工单总数</h3>
      <h4>{{operationInfo.task_total}}</h4>
    </div>
    <div class="block5">
      <div>
        <h3>累计巡检</h3>
        <h2>1703</h2>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'operations',
  props:['operationInfo']
}
</script>

<style lang="scss" scoped>
.operations {
  width: 100%;
  height: 480px;
  position: relative;

  .block {
    width: 154px;
    height: 52px;
    background: url("../../../assets/img/bg.png");
    background-size: 100% 100%;
    position: absolute;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    img {
      display: inline-block;
      margin: 14px 14px 0;
    }

    h3 {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #FFFFFF;
      margin: 0 7px 0 0;
      line-height: 52px;
    }

    h4 {
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #FFFFFF;
      margin: 0;
      line-height: 52px;
    }
  }

  .block1 {
    left: 33px;
    bottom: 387px;

    img {
      width: 24px;
      height: 24px;
    }
  }

  .block2 {
    right: 24px;
    bottom: 373px;

    img {
      width: 27px;
      height: 21px;
    }
  }

  .block3 {
    left: 29px;
    bottom: 71px;

    img {
      width: 25px;
      height: 24px;
    }
  }

  .block4 {
    right: 26px;
    bottom: 62px;

    img {
      width: 25px;
      height: 24px;
    }
  }

  .block5 {
    width: 309px;
    height: 257px;
    background: url("../../../assets/img/bg1.png");
    background-size: 100% 100%;
    position: absolute;
    left: 40px;
    bottom: 116px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    div {
      margin-left: 125px;
      margin-top: 93px;
      min-width: 72px;
    }

    h3 {
      margin: 0;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #FFFFFF;
      text-align: center;
      margin-bottom: 10px;
    }

    h2 {
      margin: 0;
      font-size: 32px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #FFFFFF;
      text-align: center;
    }
  }

  .bg5 {
    width: 30px;
    height: 30px;
    background: url("../../../assets/img/bg2.png");
    background-size: 100% 100%;
    position: absolute;
    left: 17px;
    bottom: 418px;
  }
}
</style>
